package top.ajun.mall.ware.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.ajun.mall.ware.entity.WareSkuEntity;

/**
 * 商品库存
 *
 * @author AJun
 * @email 1241088536@qq.com
 * @date 2020-11-24 22:35:11
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    void addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);

}
